package com.thb.pay.api.pay;

import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class PayPassageAccountServiceApiFallbackFactory implements FallbackFactory<PayPassageAccountServiceApi> {


    @Override
    public PayPassageAccountServiceApi create(Throwable throwable) {
        return new PayPassageAccountServiceApi() {
        };
    }
}